package com.carpedil.client.mapper;

import com.carpedil.client.entity.ClientOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/** @author Administrator */
@Repository
public interface ClientOrderMapper {
  List<ClientOrder> list();

  void save(ClientOrder clientOrder);

  int updateStatusByOrderId(@Param("orderId") String orderId, @Param("code") Integer code);
}
